package edu.ncst.baseweb.service.impl.web;

import cn.wintersun.basecommon.common.Result;
import edu.ncst.baseweb.dao.web.LabRules;
import edu.ncst.baseweb.mapper.LabRulesMapper;
import edu.ncst.baseweb.service.intrer.web.LabRulesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LabRulesServiceImpl implements LabRulesService {

    @Autowired
    private LabRulesMapper labrulesMapper;

    public Result<List<LabRules>> list(){
        List<LabRules> labRulesList = labrulesMapper.selectList(null);
        return Result.ok(labRulesList);
    }

}
